/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecHardware;
import br.gov.cemaden.library.model.smp.LoadAverage;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface LoadAverageInterface {
    List<LoadAverage>findAll();
    LoadAverage findById(Long id);
    List<LoadAverage> findByLoad1min(Double load1min);
    List<LoadAverage> findByLoad5min(Double load5min);
    List<LoadAverage> findByLoad15min(Double load15min);
    List<LoadAverage> findByExecHardware(ExecHardware execHardware);
    LoadAverage insert(LoadAverage loadAverage);
    LoadAverage update(LoadAverage loadAverage);
    void delete(LoadAverage loadAverage);
}
